checkout: Fix fsync defaults for new API to be off for real
authorColin Walters <walters@verbum.org>
Tue, 4 Oct 2016 19:39:15 +0000 (15:39 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 5 Oct 2016 21:34:57 +0000 (21:34 +0000)
commita981e5fd7685caeca79ae711f30640768a70de3a
treefab1ab887937f6bd9a2d0c98dab68e5921896c96
parent2eae12220e171a1808768530140456dbb2c64946
checkout: Fix fsync defaults for new API to be off for real

My previous change in https://github.com/ostreedev/ostree/pull/425
actually broke things so we basically used the repository defaults =(

This is a subtle mess since we're only trying to flip things off
for the *new* API.

Clean this up so that the "default repo inheritance" lives only in one
place - in the compat layer for the old checkout API.  The new
checkout API defaults to off period, so the repository state is
irrelevant.

Closes: #520
Approved by: jlebon
src/libostree/ostree-repo-checkout.c